<script setup>
    import { useRoute } from 'vue-router';
    import { ref } from 'vue';


    let route = useRoute()

    let pathParamId = ref('')
    let pathParamLanguage = ref('')
    
    pathParamId.value = route.params.pathParamId
    pathParamLanguage = route.params.pathParamLanguage
</script>

<template>
  <div>
   路径传参：pathParamId为{{ pathParamId }}的{{ pathParamLanguage }}语言是世界上最好的编程语言<br/>
  </div>
</template>

<style scoped>

</style>